package com.example.basic.web.service.newly;


import com.baomidou.mybatisplus.extension.service.IService;
import com.example.basic.web.model.device.Device;
import com.example.basic.web.model.newly.SysPdaFlow;
import com.example.basic.web.request.AddFlowDto;
import com.example.basic.web.request.GetDeviceDto;
import com.example.basic.web.request.HandMoveDto;
import com.example.basic.web.request.UserAffirmDto;

import java.util.List;

/**
 * 流程Service接口
 * 
 * @author zhiyun
 * @date 2025-08-08
 */
public interface ISysPdaFlowService
{

    Boolean add(AddFlowDto addFlowDto);

    Boolean affirm(UserAffirmDto userAffirmDto);

    /**
     * 从担架库到接驳台
     * @param positionId
     * @return
     */
    Boolean getDj(String positionId);

    /**
     * 获取设备类型列表
     * @param deviceDto
     * @return
     */
    List<Device> getDevice(GetDeviceDto deviceDto);

    /**
     * 手动下发
     * @param handMoveDto
     * @return
     */
    Boolean handMove(HandMoveDto handMoveDto);

    /**
     * 流程干预
     * @param sysPdaFlow
     * @return
     */
    Boolean updateFlow(SysPdaFlow sysPdaFlow);

}
